package ink.carnation.imtalk.util;

import cn.hutool.captcha.ICaptcha;
import cn.hutool.captcha.generator.RandomGenerator;

import java.util.Random;

/**
 * @author: flbu920
 * @date 2020/9/24
 */
public class EmailUtil {
    public static String generateCode() {
        RandomGenerator randomGenerator = new RandomGenerator(6);
        String message = randomGenerator.generate();
        return message;
    }
}
